If you need to insert entries into an alphabetical list and need to know which line the new entry went into (such as if you needed to enter data that would be on the same line as the new entry but in another field) then you may find this function useful.
InsertInList Function requires two parameters, a list and a new entry. It returns the line number that the new entry would be BEFORE alphabetically in the list. You would have to put the new entry and return before line (number returned) of the list. The function can be used like this:
put InsertInList(newEntry,theList) into lineNum
As this is written in HyperTalk it is not lightning fast, but it is sufficient. The function on the next card "FUNCTION ABC" is a little faster, but it needs the new entry and the list to be in all caps.